package com.yonyou.cms.epc.client.entity.shoppingCart;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.yonyou.cms.epc.client.entity.BasePO;

import java.math.BigDecimal;

/**
 * @description: 购物车PO类
 * @author: chengbufang
 * @date: 2022-06-29 11:46
 */
@TableName("tt_part_shopping_cart")
public class ShoppingCartPO extends BasePO<ShoppingCartPO> {

    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
    @TableId(value = "ID", type = IdType.AUTO)
    private Long id;

    /**
     * 备件编码
     */
    @TableField("PART_CODE")
    private String partCode;

    /**
     * 备件名称
     */
    @TableField("PART_NAME")
    private String partName;

    /**
     * 单价(元)
     */
    @TableField(exist = false)
    private BigDecimal partPrice;

    /**
     * 数量
     */
    @TableField("PART_COUNT")
    private Integer partCount;

    /**
     * APP_ID
     */
    @TableField("APP_ID")
    private String appId;

    /**
     * 图片路径
     */
    @TableField(exist = false)
    private String partPic;

    /**
     * 是否紧急件
     */
    @TableField(exist = false)
    private Long urgent;

    /**
     * 是否特殊件
     */
    @TableField(exist = false)
    private Long special;

    /**
     * 销售包装量
     */
    @TableField(exist = false)
    private Integer sellCount;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getPartCode() {
        return partCode;
    }

    public void setPartCode(String partCode) {
        this.partCode = partCode;
    }

    public String getPartName() {
        return partName;
    }

    public void setPartName(String partName) {
        this.partName = partName;
    }

    public BigDecimal getPartPrice() {
        return partPrice;
    }

    public void setPartPrice(BigDecimal partPrice) {
        this.partPrice = partPrice;
    }

    public Integer getPartCount() {
        return partCount;
    }

    public void setPartCount(Integer partCount) {
        this.partCount = partCount;
    }

    public String getAppId() {
        return appId;
    }

    public void setAppId(String appId) {
        this.appId = appId;
    }

    public String getPartPic() {
        return partPic;
    }

    public void setPartPic(String partPic) {
        this.partPic = partPic;
    }

    public Long getUrgent() {
        return urgent;
    }

    public void setUrgent(Long urgent) {
        this.urgent = urgent;
    }

    public Long getSpecial() {
        return special;
    }

    public void setSpecial(Long special) {
        this.special = special;
    }

    public Integer getSellCount() {
        return sellCount;
    }

    public void setSellCount(Integer sellCount) {
        this.sellCount = sellCount;
    }

}
